<template>
  <div class="Deail">
    <van-swipe :autoplay="3000">
      <van-swipe-item v-for="(item, inde) in deaile" :key="inde">
        <img :src="`http://47.102.145.189:8009` + item.houseImg" />
      </van-swipe-item>
    </van-swipe>
  </div>
</template>

<script>
import axios from "axios";
export default {
  data() {
    return {
      deaile: [],
    };
  },
  created() {
    axios
      .get("http://47.102.145.189:8009/houses/5cc4494549926d0e2b94c816")
      .then((res) => {
          this.deaile=res.data.body
        console.log("res..", res.data.body);
      });
  },
};
</script>

<style scoped lang="scss">
.Deail{
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.van-swipe{
    width: 100%;
    height: 200px;
    img{
        width: 100%;
        height: 100%;
    }
}
</style>
